//package xcmg.device.config;
//
//import org.apache.cxf.Bus;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @author zanglei 2019年12月16日16:04:15
// * @deprecated WebService对外发布
// */
//@Configuration
//public class CxfConfig {
//
//    @Autowired
//    private Bus bus;
//
//
////	@Autowired
////	@Qualifier( value = "ldthreeGuaranteesPurService" )
////	LdThreeGuaranteesPurService ldThreeGuaranteesPurService;
////
////	@Autowired
////	@Qualifier( value = "ldconfirmReceiptService" )
////	private LdConfirmReceiptService ldconfirmReceiptService;
//
//    /**
//     *
//     * 此方法被注释后:wsdl访问地址为IP:port/services/CXFCommonService?wsdl
//     * 去掉注释后：wsdl访问地址为：IP:port/soap/CXFCommonService?wsdl
//     */
//    /* @Bean
//    public ServletRegistrationBean dispatcherServlet() {
//        return new ServletRegistrationBean(new CXFServlet(),"/soap/*");
//    }*/
//
//    /**
//     * 履带吊备件调拨webservice
//     * @return
//     */
////	@Bean
////	public Endpoint endpointLdRegionAllot(){
////		EndpointImpl endpoint = new EndpointImpl( bus, ldThreeGuaranteesPurService );
////		endpoint.publish( "/LdThreeGuaranteesPurService" );
////		return endpoint;
////
////	}
//
//    /**
//     * 履带吊确认收货
//     * @return
//     */
////	@Bean
////	public Endpoint endpointLdConfirmReceipt(){
////		EndpointImpl endpoint = new EndpointImpl( bus, ldconfirmReceiptService );
////		endpoint.publish( "/LdConfirmReceiptService" );
////		return endpoint;
////
////	}
//
//}
